import request from '@/utils/request'
// 上传文件接口

//获取文件上传地址GET 
export function getuploadUrl(){
	return request({
		url:`/fileUpload/uploadUrl`,
		method:'get',
	})
}

//上传文件到阿里云POST 
export function fileUpload(parameter){
	return request({
		url:'/fileUpload/upload',
		method:'post',
		data: parameter
	})
}